/*
 * @Author: your name
 * @Date: 2021-11-25 20:22:57
 * @LastEditTime: 2021-11-25 20:22:57
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \li-yuwei\client\src\store\modules\app.js
 */
export default {
    namespaced: true,
    state: {
        refreshNum: 0,
    },
    mutations: {
        //设置state方法
        set_state: (state, { key, value }) => {
            state[key] = value;
        },
        add_refreshNum: (state) => {
            state.refreshNum = 1;
        },
    },
    actions: {},
};